package com.example.demo.service;

import com.example.demo.pojo.Page;
import com.example.demo.pojo.User;

public interface UserService {

    Page searchUsers(int currentPage, String keywords);

    boolean addUser(User user);

    boolean editUser(User user);

    void deleteUser(Integer id);

    User findUserById(Integer id);

    User findUserByName(String username);

    Page findActiveUser(int currentPage);
}
